package com.npjscg.medicalpro.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author raote
 * @since 2022-06-28
 */
@TableName("t_template")
public class Template implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer adminid;

    private String temName;

    private Integer isRepr;

    private Integer isCateg;

    private Integer isPro;

    private Integer isEco;

    private Double rate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getAdminid() {
        return adminid;
    }

    public void setAdminid(Integer adminid) {
        this.adminid = adminid;
    }
    public String getTemName() {
        return temName;
    }

    public void setTemName(String temName) {
        this.temName = temName;
    }
    public Integer getIsRepr() {
        return isRepr;
    }

    public void setIsRepr(Integer isRepr) {
        this.isRepr = isRepr;
    }
    public Integer getIsCateg() {
        return isCateg;
    }

    public void setIsCateg(Integer isCateg) {
        this.isCateg = isCateg;
    }
    public Integer getIsPro() {
        return isPro;
    }

    public void setIsPro(Integer isPro) {
        this.isPro = isPro;
    }
    public Integer getIsEco() {
        return isEco;
    }

    public void setIsEco(Integer isEco) {
        this.isEco = isEco;
    }
    public Double getRate() {
        return rate;
    }

    public void setRate(Double rate) {
        this.rate = rate;
    }

    @Override
    public String toString() {
        return "Template{" +
            "id=" + id +
            ", adminid=" + adminid +
            ", temName=" + temName +
            ", isRepr=" + isRepr +
            ", isCateg=" + isCateg +
            ", isPro=" + isPro +
            ", isEco=" + isEco +
            ", rate=" + rate +
        "}";
    }
}
